import request from "../utils/request"
import qs from "querystring"

export const titleByPage = (query)=>{
    let param = qs.stringify(query);
    return request.get("/title/by/condition?"+param);
}

export const deleteTitle = (title)=>{
    return request.delete("/title/"+title);
}